package com.baidu.enetity;

import java.sql.Timestamp;

import jpersist.PersistentObject;

/**
 * Kaipanrecord entity. @author MyEclipse Persistence Tools
 */

public class Kaipanrecord extends PersistentObject implements java.io.Serializable {

	// Fields

	private Integer id;
	private Integer periods;
	private Timestamp opentime;
	private Timestamp closetime;
	private Timestamp tclosetime;
	private Integer state;
	private String week;
	public Kaipanrecord(Integer id, Integer periods, Timestamp opentime,
			Timestamp closetime, Timestamp tclosetime, Integer state,
			String week) {
		super();
		this.id = id;
		this.periods = periods;
		this.opentime = opentime;
		this.closetime = closetime;
		this.tclosetime = tclosetime;
		this.state = state;
		this.week = week;
	}

	public Timestamp getTclosetime() {
		return tclosetime;
	}

	public void setTclosetime(Timestamp tclosetime) {
		this.tclosetime = tclosetime;
	}


	// Constructors

	public String getWeek() {
		return week;
	}

	public Kaipanrecord(Integer id, Integer periods, Timestamp opentime,
			Timestamp closetime, Integer state, String week) {
		super();
		this.id = id;
		this.periods = periods;
		this.opentime = opentime;
		this.closetime = closetime;
		this.state = state;
		this.week = week;
	}

	public void setWeek(String week) {
		this.week = week;
	}

	/** default constructor */
	public Kaipanrecord() {
	}

	/** full constructor */
	public Kaipanrecord(Integer periods, Timestamp opentime,
			Timestamp closetime, Integer state) {
		this.periods = periods;
		this.opentime = opentime;
		this.closetime = closetime;
		this.state = state;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getPeriods() {
		return this.periods;
	}

	public void setPeriods(Integer periods) {
		this.periods = periods;
	}

	public Timestamp getOpentime() {
		return this.opentime;
	}

	public void setOpentime(Timestamp opentime) {
		this.opentime = opentime;
	}

	public Timestamp getClosetime() {
		return this.closetime;
	}

	public void setClosetime(Timestamp closetime) {
		this.closetime = closetime;
	}

	public Integer getState() {
		return this.state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

}